package com.xhwl.centiotdata.controller;

import com.xhwl.centiotdata.pollingtrigger.vehicle.VehicleDispatcher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class VehicleTestController {

    @Autowired
    private VehicleDispatcher vehicleDispatcher;

    @PostMapping("/test/vehicle")
    public void test() {

        vehicleDispatcher.executePullAccessRecord();

    }

}
